<template>
	<view class="wallet">
		<view class="waller-head">
			<view class="head-title">
				余额<text class="text-style-1">(元)</text>
			</view>
			<view class="head-money">400.00</view>
		</view>
		<view class="wa-list">
			<view class="wa-item" @tap="jump('/pages/wallet/pay')">
				<view class="wa-left">
					<image class="wa-icon" src="../../static/my-icon/chongzhi.png" mode=""></image>
					<view class="wa-name">充值</view>
				</view>
				<image class="wa-right" src="../../static/img/right.png" mode=""></image>
			</view>
			<view class="wa-item"  @tap="jump('/pages/wallet/withdraw')">
				<view class="wa-left">
					<image class="wa-icon" src="../../static/my-icon/tixian.png" mode=""></image>
					<view class="wa-name">提现</view>
				</view>
				<image class="wa-right" src="../../static/img/right.png" mode=""></image>
			</view>
			<view class="wa-item" @tap="jump('/pages/wallet/bankcard')">
				<view class="wa-left">
					<image class="wa-icon" src="../../static/my-icon/yinhangka.png" mode=""></image>
					<view class="wa-name">银行卡</view>
				</view>
				<image class="wa-right" src="../../static/img/right.png" mode=""></image>
			</view>
		</view>
		<view class="wa-one">
			<view class="wa-item_" @tap="jump('/pages/wallet/billing')">
				<view class="wa-left">
					<image class="wa-icon" src="../../static/my-icon/zhangdan.png" mode=""></image>
					<view class="wa-name">账单明细</view>
				</view>
				<image class="wa-right" src="../../static/img/right.png" mode=""></image>
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			jump(path) {
				this.$Router.push(path)
			}
		}
	}
</script>

<style lang="scss">
	page {
		// background-color: #ccc;
	}
	.wallet {
		padding-top: 20rpx;
	}
	.wa-one {
		margin: 20rpx 18rpx 0 18rpx;
		width: 714rpx;
		background-color: #fff;

		.wa-item_ {
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 0 25rpx;
			height: 90rpx;

			.wa-left {
				display: flex;
				align-items: center;

				.wa-icon {
					width: 33rpx;
					height: 33rpx;
					margin-right: 20rpx;
				}

				.wa-name {
					font-size: 30rpx;
					letter-spacing: 3rpx;
					color: #333333;
				}
			}

			.wa-right {
				width: 13rpx;
				height: 24rpx;
			}
		}
	}


	.wa-list {
		margin: 0 18rpx;
		width: 714rpx;
		background-color: #fff;



		.wa-item {
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 0 25rpx;
			height: 90rpx;
			border-bottom: 1px solid #e5e5e5;

			.wa-left {
				display: flex;
				align-items: center;

				.wa-icon {
					width: 33rpx;
					height: 33rpx;
					margin-right: 20rpx;
				}

				.wa-name {
					font-size: 30rpx;
					letter-spacing: 3rpx;
					color: #333333;
				}
			}

			.wa-right {
				width: 13rpx;
				height: 24rpx;
			}
		}

		.wa-item:last-child {
			border-bottom: none;
		}
	}

	.waller-head {
		margin: 0 18rpx 20rpx 18rpx;
		width: 714rpx;
		height: 172rpx;
		background-image: linear-gradient(265deg,
				#c60122 0%,
				#e23351 100%);
		border-radius: 15rpx;
		padding: 44rpx 0 0 36rpx;
		box-sizing: border-box;

		.head-title {
			font-size: 24rpx;
			letter-spacing: 2rpx;
			color: #ffffff;

			.text-style-1 {
				font-size: 20rpx;
				letter-spacing: 2rpx;
				color: #ffffff;
				margin-left: 10rpx;
			}
		}

		.head-money {
			font-size: 40rpx;
			line-height: 72rpx;
			letter-spacing: 4rpx;
			color: #ffffff;
			font-weight: bold;
		}
	}
</style>
